package cn.wei.youvie.domain.dto.menu;

import cn.wei.youvie.common.servlet.PageRequest;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serial;
import java.io.Serializable;

@EqualsAndHashCode(callSuper = true)
@Data
public class MenuQueryRequest extends PageRequest implements Serializable {

    @Serial
    @TableField(exist = false)
    private static final long serialVersionUID = 1L;

    private Integer parentMenuId;

    /**
     * 菜单项的名称
     */
    private String name;

    /**
     * 菜单项的详细描述
     */
    private String description;

    /**
     * 菜单项的详细描述
     */
    private String component;

    /**
     * 菜单项的可用用户id
     */
    private String users;

    /**
     * 菜单项的可用角色id
     */
    private String roles;

    /**
     * 菜单项的链接
     */
    private String routePath;

    /**
     * 菜单项的图标
     */
    private String icon;

    /**
     * 菜单项的排序顺序
     */
    private Integer seque;

    /**
     * 是否启用
     */
    private Integer isActive;
}
